#include <stdio.h>

int add_sum(int src, int dest)
{
    int ret = 0;
    for(int i = src; i <= dest; i++)
    {
        ret += i;
    }
    
    return ret;
}

int main()
{
    printf("begin...\n");
    int src = 1;
    int dest = 100;

    int result = add_sum(src, dest);

    printf("result = %d\n", result);

    printf("end....\n");
    return 0;
}
